﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    @Scripts.Render("~/bundles/jquery")
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    

    <script type="text/javascript">
        $(function () {
            //导航页集合
            var s = ["", "Lenders", "About"];
            var s1 = window.location.href.split("/")[3];
            for (var i = 0; i < s.length; i++) {
                if (s[i] == s1) {
                    $(".inner_box a")[i].className = "on";
                }
                else
                    $(".inner_box a")[i].className = "";
            }
        });

    </script>

</head>
<body>
    
    @if(Request.UrlReferrer!=null && Request.Url.Host ==Request.UrlReferrer.Host)
    {
        @Html.Hidden("urlReferrer", Request.UrlReferrer.ToString());
    }
    else
    {
        @Html.Hidden("urlReferrer", "/home");
    } 
    <div style="width:100%; z-index:100; position:fixed; top:0px; overflow:auto;background: url(/Images/back.jpg) repeat;">
       <div class="bannerTop">
                <a href="/" title="商票贷款平台" class="bannerTop_logo fl"></a>
       <div class="tel_2013">
            <div class="header_box_login fr">
                @{
                    P2PWeb.Models.Account account = Session["UserInfo"] as P2PWeb.Models.Account;
                    if (account == null)
                    {
                    <a rel="nofollow" href="/Login/SignIn">登录</a>
                    <span class="gray">|</span>
                    <a rel="nofollow" class="orange" href="/Login/Register">注册</a>
                    }
                    else
                    {
                    <span>用户名：</span>
                    <span class="hbl_name ell orange" title="@account.Name"><a href="/Account"  class="orange">@account.Name</a></span>
                    
 
                    <a href="/Account">我的账户</a>
                    <a href="/Login/SignOut">退出</a>
                    }
                }
            </div>
        </div>
    </div>
       <div class="header_box_menu">
        <div class="inner_box">
            <ul>
                <li><a href="/" class="on">首页</a></li>
                <li><a href="/Lenders/LendrsList">商票贷</a></li>
                <li><a href="/About/Main">关于我们</a></li>
            </ul>
            <div class="clearline"></div>
        </div>
    </div>
    </div>
    @*导航栏结束*@
    @RenderBody()

    <div class="footer bc">
        <p class="footer_link tc pt15">
            <a href="/" title="升付金融" rel="nofollow">首页</a>|
        <a href="/About/Main" rel="nofollow" target="_blank">关于我们</a>|
        <a href="javascript:return false;" rel="nofollow">联系我们</a>|
        <a href="javascript:return false;" rel="nofollow">帮助中心</a>|
        <a href="javascript:return false;" rel="nofollow">加入我们</a>|
        <a href="javascript:return false;" rel="nofollow">友情链接</a>|
        <a href="javascript:return false;" rel="nofollow">网站协议</a>|
        <a href="javascript:return false;" >网站地图</a>|
        <a href="javascript:return false;" rel="nofollow">意见反馈</a>
        </p>
        <p class="colblack3 cb tc pt15">沪ICP备14032153号 CreditEase © 2014 上海晶享金融信息服务有限公司

</p>
        <p class="tc zzrz pt15 pb15">
        </p>
    </div>

    @RenderSection("scripts", required: false)
</body>
</html>
